#include <stdio.h>

int main(void) {
    int a, b;
    while (printf("Enter two numbers: "), scanf("%d %d", &a, &b), (a != 0 || b != 0)) {
        printf("%d\n", a + b);
    }
}
